package prosjekt;

import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;


@SuppressWarnings("unused")
public class Settings {
	private static Statement statement;
	private static Settings single = new Settings();
	
	Settings(){
		try{
			connect();
		} catch (SQLException e) {
			System.err.println("Can`t connect to the database");
		}
	}
	
	private static void connect() throws SQLException{
		statement = DBManager.getInstance().getConnection().createStatement();
	}
	
	public Settings getInstance(){
		return single;
	}


}
